package me.helllp.bootman.admin;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import me.helllp.bootman.common.config.ManFreemarkerConfig;

@Configuration
//	配置使用FreeMarker模板引擎
@Import({ManFreemarkerConfig.class})
public class AdminConfig {
	protected static final String REMOTE_URL = "remoteUrl";
	
	//	后端服务的地址
	@Value("${bootman.admin.remote.url}")
	private String remoteUrl;

	public String getRemoteUrl() {
		return remoteUrl;
	}
}
